import request from "@/api/index"

export default {
  /**
   * @description: 批次导出 *代表必填
   * @param {Object} params *
   * @return {Object}
   */
  productionBatchExport(params) {
    const url = "/batch/productionBatch/export"
    return request.filePost(url, params)
  },
  /**
   * @description: 投塘报表 *代表必填 
   * @param {Object} params *
   * @return {Object}
   */
  inputPondExport(params) {
    const url = "/batch/inputPond/export"
    return request.filePost(url, params)
  },
  /**
   * @description: 传统估产报表 *代表必填
   * @param {Object} params *
   * @return {Object}
   */
  predictYieldExport(params) {
    const url = "/batch/predictYield/export" 
    return request.filePost(url, params)
  },
  /**
   * @description: 吊水估产报表 *代表必填
   * @param {Object} params *
   * @return {Object}
   */
   hangingBreedPredictYieldExport(params) {
    const url = "/batch/hangingBreedPredictYield/export"
    return request.filePost(url, params)
  },
  /**
  * @description: 疾病报表 *代表必填
  * @param {Object} params *
  * @return {Object}
  */
  diseaseRecordExport(params) {
   const url = "/health/diseaseRecord/export"
   return request.filePost(url, params)
  },

  /**
  * @description: 作业报表---全部导出 *代表必填
  * @param {Object} params *
  * @return {Object}
  */
  workExport(params) {
   const url = "/task/work/export"
   return request.filePost(url, params)
  },

  /**
  * @description: 作业报表---漏网作业 *代表必填
  * @param {Object} params *
  * @return {Object}
  */
   exportExposedNetWork(params) {
    const url = "/task/work/exportExposedNetWork"
    return request.filePost(url, params)
    },

  /**
  * @description: 作业报表---投喂作业 *代表必填
  * @param {Object} params *
  * @return {Object}
  */
   exportFeedingWork(params) {
    const url = "/task/work/exportFeedingWork"
    return request.filePost(url, params)
  },

  /**
  * @description: 作业报表---吊网作业 *代表必填
  * @param {Object} params *
  * @return {Object}
  */
   exportHangNetWork(params) {
    const url = "/task/work/exportHangNetWork"
    return request.filePost(url, params)
  },

  /**
  * @description: 历史巡塘记录
  * @param {Object} params *
  * @return {Object}
  */
    outsideInspection(params) {
    const url = "/inspection/outsideInspection/export"
    return request.filePost(url, params)
  },

  /**
  * @description: 电子巡塘记录
  * @param {Object} params *
  * @return {Object}
  */
   electronicPatrol(params) {
    const url = "/inspection/electronicPatrol/export"
    return request.filePost(url, params)
  },

  /**
  * @description: 清塘报表 *代表必填
  * @param {Object} params *
  * @return {Object}
  */
  clearPondExport(params) {
    const url = "/batch/clearPond/export"
    return request.filePost(url, params)
  },
  /**
  * @description: 产出报表 *代表必填
  * @param {Object} params *
  * @return {Object}
  */
  produceExport(params) {
    const url = "/batch/produce/export"
    return request.filePost(url, params)
  },
  /**
  * @description: 直鱼报表 *代表必填
  * @param {Object} params *
  * @return {Object}
  */
  deadRecordExport(params) {
    const url = "/health/deadRecord/export"
    return request.filePost(url, params)
  },
   /**
   * @description: 直鱼报表 *代表必填
   * @param {Object} params *
   * @return {Object}
   */
   deadReportExport(params) {
    const url = "/health/deadReport/export"
    return request.filePost(url, params)
  },
  /**
  * @description: 物料报表 *代表必填
  * @param {Object} params *
  * @return {Object}
  */
  materialRecordExcel(params) {
   const url = "/base/materialRecord/exportExcel"
   return request.filePost(url, params)
 }
}
